<?php
Route::name('.config')
    ->prefix('config')
    ->group(function () {
        Route::get('routes', 'ConfigController@routesApi')
            ->name('.routes');
        Route::get('route/{name?}', 'ConfigController@routeCheckApi')
            ->name('.route');

    });
